package com.pinganfu.mock.dao;

import java.util.List;
import java.util.Map;

import com.pinganfu.mock.model.SynchronousMouldEntity;


public interface ISynchronousMouldDao {
	
	
	/*********************************http***************************************/
	
	/**
	 * 查询同步模板
	 * @param param
	 * @return
	 */
	public List<SynchronousMouldEntity> getSynchronousHttpMouldList(Map<String, Object> param);
	
	/**
	 * 新建一条数据
	 * @param entity
	 * @return
	 */
	public Integer insertSynchronousHttpMould(SynchronousMouldEntity entity);
	
	/**
	 * 修改一条数据
	 * @param entity
	 * @return
	 */
	public Integer updateSynchronousHttpMould(SynchronousMouldEntity entity);
	
	/**
	 * 删除一条数据
	 * @param entity
	 * @return
	 */
	public Integer delSynchronousHttpMould(SynchronousMouldEntity entity);
	
	
	public String getSynchronousHttpMouldByUrl(Map<String, Object> param);
	
	public String getSynchronousHttpMouldFormat(Map<String, Object> param);
	
	
	/********************************https***************************************/
	
	/**
	 * 查询同步模板
	 * @param param
	 * @return
	 */
	public List<SynchronousMouldEntity> getSynchronousHttpsMouldList(Map<String, Object> param);
	
	/**
	 * 新建一条数据
	 * @param entity
	 * @return
	 */
	public Integer insertSynchronousHttpsMould(SynchronousMouldEntity entity);
	
	/**
	 * 修改一条数据
	 * @param entity
	 * @return
	 */
	public Integer updateSynchronousHttpsMould(SynchronousMouldEntity entity);
	
	/**
	 * 删除一条数据
	 * @param entity
	 * @return
	 */
	public Integer delSynchronousHttpsMould(SynchronousMouldEntity entity);
	
	
	public String getSynchronousHttpsMouldByUrl(Map<String, Object> param);
	
	public String getSynchronousHttpsMouldEncrypt(Map<String, Object> param);
	
	
	
}
